package com.ngc.mall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ngc.mall.domain.LotteryPrizeDomain;
import com.ngc.mall.mapper.LotteryPrizeMapper;
import com.ngc.mall.service.ILotteryPrizeService;
import org.springframework.stereotype.Service;

/**
 *
 * 抽奖奖品实现类
 * @author: chenxiaolin
 * @date 2023/10/14 15:51
**/
@Service
public class LotteryPrizeServiceImpl  extends ServiceImpl<LotteryPrizeMapper, LotteryPrizeDomain> implements ILotteryPrizeService {
    @Override
    public Long create(LotteryPrizeDomain domain) {
        super.save(domain);
        return domain.getId();
    }
}
